package cn.cai.pethome.base.dto;

import cn.cai.pethome.emp.domain.Employee;
import cn.cai.pethome.logininfo.domain.Logininfo;
import cn.cai.pethome.system.domain.Menu;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class LogininfoDto {

    //登录账号对象
    private Logininfo logininfo;

    //登录的员工对象
    private Employee admin;

    //登录人的菜单
    private List<Menu> ownMenus = new ArrayList<>();

    //登录人的权限
    private List<String> ownPermissions =new ArrayList<>();
}
